package org.msi.bayesiannetwork;

/**
 * <p>Exception used by {@link BayesianNetworkFactory} to indicate error during object creation from configuration
 * file.</p>
 *
 * @author Jakub Narloch
 * @version 1.0
 */
public class BayesianNetworkConfigurationException extends RuntimeException {

    /**
     * <p>Creates new instance of {@link BayesianNetworkConfigurationException} class with detailed error message.</p>
     *
     * @param message the detailed error message
     */
    public BayesianNetworkConfigurationException(String message) {
        super(message);
    }

    /**
     * <p>Creates new instance of {@link BayesianNetworkConfigurationException} class with detailed error message and
     * inner cause.</p>
     *
     * @param message the detailed error message
     * @param cause   the inner cause
     */
    public BayesianNetworkConfigurationException(String message, Throwable cause) {
        super(message, cause);
    }
}
